<style tyle="text/css">
    .modal-lg {
        width: 50%;
    }
    .btn-style {
      width: 100px;
      margin-right: 10px;
    }
</style>
<div class="modal-header">
  <h4 class="modal-title">事件信息</h4>
</div>
<div class="modal-body">
  <form name="form" class="form-horizontal ng-pristine ng-valid-required">
    <div class="form-group">
      <label class="col-lg-3 control-label">源数据库：</label>
      <div class="col-lg-6">
        <input type="text" class="form-control" ng-model="event.from_database" ng-disabled="fromDate.updateFlag">
      </div>
    </div>
    <div class="form-group">
      <label class="col-lg-3 control-label">来源表：</label>
      <div class="col-lg-6">
        <input type="text" class="form-control" ng-model="event.from_table" ng-disabled="fromDate.updateFlag">
      </div>
    </div>
    <div class="form-group">
      <label class="col-lg-3 control-label">操作类型：</label>
      <div class="col-lg-9">
        <label class="btn btn-info btn-style" ng-repeat="item in fromDate.oper_list" ng-model="item.check" btn-checkbox="">
          <span class="text">{{item.label}}</span>
          <i class="fa fa-check text-active"></i>
          <span class="text-active">{{item.label}}</span>
        </label>
      </div>
    </div>
    <div class="form-group">
      <label class="col-lg-3 control-label">描述：</label>
      <div class="col-lg-6">
        <textarea class="form-control" rows="4" ng-model="event.remark"></textarea>
      </div>
    </div>
  </form>

</div>
<div class="modal-footer">
  <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
  <button class="btn btn-danger" type="button" ng-click="cancel()">取消</button>
</div>